[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+ Unary Identity operator
+exp1 Unary Identity
As a unary operator, + does not affect the value yielded by exp1.
i = +(a + b) + c;
- Unary Negation operator
-exp1 Unary Arithmetic negation
exp1 any expression
The unary operator - performs arithmetic negation. The result is the
negative value of exp1; by definition, exp1 + -exp1 yields zero (0).
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson